from kea2.hypiumKea import Kea2
from pathlib import Path

if __name__ == "__main__":
    kea2 = Kea2(
        device_sn="23E0224307001843",
        driverName="d",
        root_dir=str((Path(".") / "loadertests").absolute())
    )

    kea2.start()

    for i in range(100):
        kea2.exec_prop()

        kea2.exec_before_monkey()
        # monkey action here
        kea2.exec_after_monkey()

    kea2.tearDown()
